﻿#pragma once

#define WIN32_LEAN_AND_MEAN             // 从 Windows 头文件中排除极少使用的内容
#include "fastdeploy/vision.h"


cv::Mat MattingInfer(fastdeploy::vision::matting::PPMatting &model, const cv::Mat image, const std::string& background_file);

fastdeploy::vision::matting::PPMatting CpuInit(const std::string& model_dir);

fastdeploy::vision::matting::PPMatting GpuInit(const std::string& model_dir);

//int infer_by_camera(const std::string& device, const std::string& model_dir,
//    const std::string& window_name = "test", const std::string& background_file = "");
